<?php

namespace Yj\Generator\Core\Model;

/**
 * @Notes: []
 * @User: zwc
 * @Date: 2022/3/1 19:46
 */
abstract class BasePropertyModel extends RenderableModel
{
    /**
     * @var string
     */
    protected string $name;

    /**
     * @return string
     */
    public function getName(): string
    {
        return $this->name;
    }

    /**
     * @param string $name
     */
    public function setName(string $name)
    {
        $this->name = $name;
        return $this;
    }
}